<template>
	<div class="column">
		<van-cell
		v-for="(item) of column"
		:key="item._id"
		:title="item.title"
		:label="item.des"
		:to = "`/column/${item._id}?collectionName=clumn`"
		/>
	</div>
</template>
<script>
		export default {
		name:"column",
		props:{},
		data(){
			return{
				column:[]
			}	
			},
		components:{},
		mounted(){
			this.$axios.get('/news/clumn',{params:{_limit:20,_page:1}})
			.then(
			res=>this.column=res.data
			// console.log(res.data)
			// this.column=res.data
			)
		},
		updated(){},
		methods:{},
		computed:{}
	}
</script>
<style>

</style>
